package com.itheima.Demo2.domain;

//项目经理类

public class XMJL extends Person {
    private String jj;  //奖金

    public XMJL(String name, String id, String gongzi, String jj) {
        super(name, id, gongzi);
        this.jj = jj;
    }

    public XMJL() {
    }

    public void work(){
        System.out.println("这是项目经理的工作");
    }
}
